Lesson 1 - Fill in the blanks

Gap-fill exercise

Fill in all the gaps, then press "Check" to check your answers. Use the "Hint" button to get a free letter if an answer is giving you trouble. You can also click on the "[?]" button to get a clue. Note that you will lose points if you ask for hints or clues!
- Machine readable code. This is code which is run directly on the . Machine code is in . Each binary instruction is made up of a opcode and data.

- This will convert into machine code. It is not a one to one mapping and a single line of source code could be converted into many lines of machine code. There are different types of translators. is one of them.

- This is a piece of software which will translate directly into machine code. The code generated can be run on the and is sometimes referred to as a .

- A which translates and executes each line of source code independently. A interpreter must be available in order to run the program.

language - This is a machine form of machine code. It means that the code can be run on any host computer as long as they have a virtual machine. This makes code much more portable.

- A virtual computer which runs inside a host. This will provide all of the necessary resources needed to run intermediate code (byte code). A VM will act as an to the intermediate code. The use of a virtual machine tries to bring the best of both a compiler and an interpreter.